﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/CommonPages/MasterPageBackEnd.master" AutoEventWireup="true" CodeFile="updateStudent.aspx.cs" Inherits="Pages_ManagerPages_updateStudent" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="block">
        <table id="StudentInfo">
            <tr>
                <td>Full Name: </td>
                <td>
                    <asp:Label ID="lblStName" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Address: </td>
                <td>
                    <asp:Label ID="lblStAddress" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Class: </td>
                <td>
                    <asp:Label ID="lblStClass" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Email: </td>
                <td>
                    <asp:Label ID="lblStEmail" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Phone Number: </td>
                <td>
                    <asp:Label ID="lblStPhoneNumber" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>Major: </td>
                <td>
                    <asp:Label ID="lblStMajor" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td>User Name: </td>
                <td>
                    <asp:Label ID="lblStUsername" runat="server"></asp:Label></td>
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <br />
    <div class="Add">
        <h4>Student</h4>
        <asp:Label ID="lblWarningUpdateStudent" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="XX-Large" ForeColor="Red"></asp:Label>
        <table class="addTable">
            <tr>
                <td>
                    <asp:Label ID="lblUsername" runat="server" Text="User Name :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblFullName" runat="server" Text="Full name :"></asp:Label>

                </td>
                <td>
                    <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblAdress" runat="server" Text="Address :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" ClientIDMode="Static"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblClass" runat="server" Text="Class :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtClass" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table class="addTable">
            <tr>
                <td>
                    <asp:Label ID="lblEmail" runat="server" Text="Email :"></asp:Label>

                </td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblPhone" runat="server" Text="Phone :"></asp:Label>

                </td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblMajor" runat="server" Text="Major :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtMajor" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <asp:Button ID="btnUpdateStudent" runat="server" Text="Update"
                        ClientIDMode="Static" OnClick="btnUpdateStudent_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

